package ca.uvic.group2.api.exceptions;

public class InsufficientFundsException extends InvalidCommandException {

    public InsufficientFundsException(float balance, String message) {
        super(message + ": "+ Float.toString(balance));
    }

    public InsufficientFundsException(double balance, String message) {
        super(message + ": "+ Double.toString(balance));
    }

    public InsufficientFundsException(int amount, String message) {
        super(message + ": "+ Integer.toString(amount));
    }

    public InsufficientFundsException(float balance) {
        super("Insufficient Funds: " + Float.toString(balance));
    }

    public InsufficientFundsException(double balance) {
        super("Insufficient Funds: " + Double.toString(balance));
    }

}

